package com.bilin.coin.activity;

import android.view.View;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bilin.coin.R;
import com.bilin.coin.common.base.BaseAppCompatActivity;

import butterknife.OnClick;

@Route(path = "/safe/SafeActivity")
public class SafeActivity extends BaseAppCompatActivity {
    @Override
    protected void initView() {

        setTitle("安全中心");
    }

    @Override
    protected void initData() {

    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_safe;
    }

    @OnClick({R.id.rl_pass_account, R.id.rl_pass_deal})
    public void onClick(View view) {

        switch (view.getId()) {
            case R.id.rl_pass_account:
                baseStartActivityWith("/safe/AlertPassActivity").withInt("type", 0).navigation();
                break;
            case R.id.rl_pass_deal:
                baseStartActivity("/confirm/AlertTradePassActivity");
                break;
        }
    }

}
